]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenshot: Remove harmful empty finalizer
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 25 Mar 2012 14:49:38 +0000 (11:49 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 26 Mar 2012 15:54:07 +0000 (12:54 -0300)
We really should be chaining up in the finalizer, but instead of leaving
an empty finalize, remove it entirely.

https://bugzilla.gnome.org/show_bug.cgi?id=672775

src/shell-screenshot.c

index 6295427ebea1c407a12f50a1fdeb4a180240607c..b0dcfa38cd8d7200935f13b413460f95c7e78983 100644 (file)
@@ -41,18 +41,10 @@ typedef struct _screenshot_data {
 
 G_DEFINE_TYPE(ShellScreenshot, shell_screenshot, G_TYPE_OBJECT);
 
-static void
-shell_screenshot_finalize (GObject *gobject)
-{
-
-}
-
 static void
 shell_screenshot_class_init (ShellScreenshotClass *screenshot_class)
 {
-  GObjectClass *gobject_class = G_OBJECT_CLASS (screenshot_class);
-
-  gobject_class->finalize = shell_screenshot_finalize;
+  (void) screenshot_class;
 }
 
 static void